<ion-view>
  <ion-header-bar class="bar bar-header header">
    <button class="button return-btn" on-touch="goback()">返回</button>
    <h1 class="title" on-touch="backToTop()">当天活动</h1>
    </ion-header-bar>
<ion-content class="gray-bg" has-bouncing="true">
  <div>
    <div class="activity-cal-hd">
      <button class="activity-cal-hd-perv" type="button" on-touch="preWeek(weekDay[0].timeformat)"></button>
      <em class="activity-cal-hd-date">{{nowDate|date:'yyyy年MM月'}}</em>
      <button class="activity-cal-hd-next" type="button" on-touch="nextWeek(weekDay[6].timeformat)"></button>
    </div>
    <div class="activity-cal-bd">
      <div class="row">
        <div class="col activity-cal-th">日</div>
        <div class="col activity-cal-th">一</div>
        <div class="col activity-cal-th">二</div>
        <div class="col activity-cal-th">三</div>
        <div class="col activity-cal-th">四</div>
        <div class="col activity-cal-th">五</div>
        <div class="col activity-cal-th">六</div>
      </div>
      <div class="row">
        <div class="col activity-cal-td" ng-repeat="item in weekDay" ng-class="{'now-day':item.selected}">
          <a on-touch='selectDay("{{item.timeformat}}")'>
            <i class="calendar-td-icon" ng-if="item.haveMeeting&&!item.selected"></i>
            <em class="calendar-news-txt">{{item.time | date:'dd'}}</em>
            <em class="calendar-old-txt" ng-bind="item.nong_time">三十</em>
          </a>
        </div>
      </div>
      <!--约局列表-->
      <div class="list">
        <ul>
          <li class="card card-item-li" ng-repeat="meeting in meetingList">
            <a ng-href="#/date-details/{{meeting.mm_id}}">
              <div class="item item-image">
                <div class="card-item-img">
                  <div class="card-item-bg">
                    <div class="card-item-con">
                      <h3 ng-bind="meeting.mm_title">周末一起以酒会友</h3>

                      <p class="card-item-blue"><i class="card-addr-icon"></i>{{meeting.mm_address}}</p>

                      <p><i class="card-time-icon"></i>{{meeting.mm_time | date:"yyyy-MM-dd HH:mm"}}</p>
                    </div>
                  </div><!--style="width:100%;height:250px" -->
                  <img ng-src="{{picPath}}middle_{{meeting.mm_img_url}}" style="height:250px;width:100%" alt=""/>
                </div>
              </div>
              <div class="item item-avatar card-item-tit">
                <div class="card-user-hd">
                  <a>
                    <div class="card-user-hd-pic">
                      <img ng-src="{{picPath}}{{meeting.member_img_url}}" alt=""/>
                      <i class="card-user-hd-icon"><img ng-src="{{picPath}}{{meeting.mr_img_url}}" alt=""/></i>
                    </div>
                  </a>
                </div>
                <h2 class="card-user-hd-name" ng-bind="meeting.member_name"></h2>

                <div class="tabs tabs-icon-only card-item-ctrl">
                  <a class="tab-item" on-touch="showMeetingShare(meeting.mm_id)" ng-show="isShareShow">
                    <i class="icon card-share-icon"></i>
                  </a>
                  <a class="tab-item" ng-click="collectMeeting($index,meeting.mm_id)">
                    <i class="icon card-collect-icon" ng-class="{'active':meeting.mcmeetStatus}"></i>
                  </a>
                  <a class="tab-item" ng-click="likeMeeting($index,meeting.mm_id)">
                    <i class="icon card-praise-icon" ng-class="{'active':meeting.lmeetStatus}"></i>
                  </a>
                  <a class="tab-item" ng-href="#/meetingComment/{{meeting.mm_id}}">
                    <i class="icon card-comment-icon"><em class="ctrl-nav-num" ng-bind="meeting.mm_comment_num"></em></i>
                  </a>
                </div>
              </div>
            </a>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <!--约局结束-->
</ion-content>
 </ion-view>
